<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@page import="gruppe7.util.Html" %>
<%@page import="gruppe7.model.User" %>
<%@page import="gruppe7.control.ServletController" %>

<html>
<%
Html html = new Html(); 
ServletController sc = ServletController.getInstance();
boolean loggedIn = sc.isSessionCreated(request);
String errorMsg = request.getParameter("error");

%>

<% out.print(html.setHeader("Login")); %>

<body>
<jsp:include page="main_links.jsp" />

<div id ="content">
<div id="content-left-contact">

<%

out.println("<div id='content-left'>");
out.println("<h3><img src='images/login.png'/> This page requires a valid user account</h3><br/>");

out.println(html.LoginFormString(request, errorMsg != null));
out.println("</div></div>");
out.println(html.setFooter());

%>